package com.bdth.bdthmall.api.datas;

import java.util.concurrent.ConcurrentHashMap;

/**
 * Created by Administrator on 2020/1/11.
 */
public class CommonDatas {
    /**
     * epoint模块
     * Token存储最长时间
     * 24小时
     */
    public static int epoint_Token_Keep_Time = 24*60*60*1000;

    /**
     * key:token
     * value:username
     * epoint的Token存放内存表
     */
    public static ConcurrentHashMap<String,String> epointToken = new ConcurrentHashMap<>();

    /**
     * key:username
     * value:token
     * epoint的AppKey存放内存表
     */
    public static ConcurrentHashMap<String,String> epointAppKey = new ConcurrentHashMap<>();

    /**
     * key:token+username
     * value:tokenTime
     * epoint的Token时间存放内存表
     */
    public static ConcurrentHashMap<String,String> epointTokenTime = new ConcurrentHashMap<>();
}
